//
//  DATAsyncPostAFNBlock.h
//  AFNBlockDemo
//
//  Created by dllo on 15/10/12.
//  Copyright (c) 2015年 ShangRJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

typedef void(^PostAFNBlockResult)(id result);
typedef void(^PostAFNBlockError)(NSError *error);


@interface DATAsyncPostAFNBlock : NSObject


+ (void)PostAFNURLWithString:(NSString *)url Body:(NSDictionary *)body Cookie:(NSString *)cookie resultBlock:(PostAFNBlockResult)resultBlcok errorBlock:(PostAFNBlockError)errorBlock;


@end
